#########################################################################
#  Anglo-Egyptian Defense Treaty Activation : Italian Agression
#########################################################################
# EVENT FOR TESTING
event = {  
            id = 902100 
            random = no
            country = ENG

            trigger = {
                	war = { country = EGY country = ITA }
			NOT = {
				OR = {
					alliance = { country = GER country = EGY } 
					alliance = { country = SOV country = EGY } 
					alliance = { country = ENG country = EGY } 
					war = { country = EGY country = ENG }
					ispuppet = ENG
					ispuppet = EGY
					war = { country = GER country = ENG }
					}
				}
	              }

            name = "Activation of the 1936 Anglo-Egyptian defense treaty"
            desc = "In 1936, after several years of negotiations and efforts to achieve a higher level of self-government, and with the pressure originated with the Italian invasion of Ethiopia, the United Kingdom finally agreed to sign a Anglo-Egyptian Treaty. Although the treaty did not include dismantling of British garrisons, and did not reduce British meddling in Egyptian affairs, it was a decisive step forward. The treaty guaranteed that the United Kingdom would always respect Egyptian independence and self-government, and would protect Egypt from any outside aggression."

            style = 0

            date = { day = 1 month = january year = 1936 }
            offset = 1
            deathdate = { day = 30 month = december year = 1947 }
     
            action_a = { 
                        name = "Honor our agreement; declare war on Italy" # Declare War on Egypts agressor
                        command = { type = war which = ITA }
			command = { type = influence value = 5 } # good international relations
          		}
            action_b = { 
                        name = "Refuse to honor our obligations" # Let The Egyptians Take Care of Themselves
                        command = { type = dissent value = 15 }
		       }
}

#########################################################################
#  Anglo-Egyptian Defense Treaty Activation : Turkey Agression
#########################################################################
# EVENT FOR TESTING
event = {  
            id = 902101
            random = no
            country = ENG

            trigger = {
                   	war = { country = EGY country = TUR }
			NOT = {
				OR = {
					alliance = { country = GER country = EGY } 
					alliance = { country = SOV country = EGY } 
					alliance = { country = ENG country = EGY } 
					war = { country = EGY country = ENG }
					ispuppet = ENG
					ispuppet = EGY
					war = { country = GER country = ENG }
					}
				}
                 	}

            name = "Activation of the 1936 Anglo-Egyptian defense treaty"
            desc = "In 1936, after several years of negotiations and efforts to achieve a higher level of self-government, and with the pressure originated with the Italian invasion of Ethiopia, the United Kingdom finally agreed to sign a Anglo-Egyptian Treaty. Although the treaty did not include dismantling of British garrisons, and did not reduce British meddling in Egyptian affairs, it was a decisive step forward. The treaty guaranteed that the United Kingdom would always respect Egyptian independence and self-government, and would protect Egypt from any outside aggression."

            style = 0

            date = { day = 1 month = january year = 1936 }
            offset = 1
            deathdate = { day = 30 month = december year = 1947 }
     
            action_a = { 
                        name = "Honor our agreement; declare war on Turkey" # Declare War on Egypts agressor
                        command = { type = war which = TUR }
			command = { type = influence value = 5 } # good international relations
			}
            action_b = { 
                        name = "Refuse to honor our obligations" # Let The Egyptians Take Care of Themselves
                        command = { type = dissent value = 15 }
			}
}

#########################################################################
#  Anglo-Irak Defense Treaty Activation : Italian Agression
#########################################################################
# EVENT FOR TESTING
event = {  
            id = 902102
            random = no
            country = ENG

            trigger = {
        	        war = { country = IRQ country = ITA }
			NOT = {
				OR = {
					alliance = { country = GER country = IRQ } 
					alliance = { country = SOV country = IRQ } 
					alliance = { country = ENG country = IRQ } 
					war = { country = IRQ country = ENG }
					ispuppet = ENG
					ispuppet = IRQ
					war = { country = GER country = ENG }
					}
				}
              		}

            name = "Activation of the 1930 Anglo-Iraqi defense treaty"
            desc = "To ensure Irak remained in the British sphere, the 1936 Anglo-Irak treaty included a clause that would have Britain send troops in the case that Iraq was attacked by a third party."

            style = 0

            date = { day = 1 month = january year = 1936 }
            offset = 1
            deathdate = { day = 30 month = december year = 1947 }
     
            action_a = { 
                        name = "Honor our agreement; declare war on Italy" # Declare War on Egypts agressor
                        command = { type = war which = ITA }
			command = { type = influence value = 5 } # good international relations
			}
            action_b = { 
			name = "Refuse to honor our obligations" # Let The Egyptians Take Care of Themselves
			command = { type = dissent value = 15 }
			}
}

#########################################################################
#  Anglo-Irak Defense Treaty Activation : Turkey Agression
#########################################################################
# EVENT FOR TESTING
event = {  
        id = 902103
        random = no
        country = ENG

	trigger = {
		war = { country = IRQ country = TUR }
		NOT = {
			OR = {
				alliance = { country = GER country = IRQ } 
				alliance = { country = SOV country = IRQ } 
				alliance = { country = ENG country = IRQ } 
				war = { country = IRQ country = ENG }
				ispuppet = ENG
				ispuppet = IRQ
				war = { country = GER country = ENG }
				}
			}
		}

name = "Activation of the 1930 Anglo-Iraqi defense treaty"
desc = "To ensure Irak remained in the British sphere, the 1936 Anglo-Irak treaty included a clause that would have Britain send troops in case Irak was attacked by a third party"
style = 0

	date = { day = 1 month = january year = 1936 }
        offset = 1
	deathdate = { day = 30 month = december year = 1947 }
     
	action_a = { 
		name = "Honor our agreement; declare war on Turkey" # Declare War on Egypts agressor
		command = { type = war which = TUR }
		command = { type = influence value = 5 } # good international relations
		}
	action_b = { 
		name = "Refuse to honor our obligations" # Let The Egyptians Take Care of Themselves
		command = { type = dissent value = 15 }
		}
}
